import { CaptureContext, COMPONENT_CLASS_TYPE, SystemBase } from "../../blaze3d";

import { Camera } from "./camera"


export class RenderSystem implements SystemBase {
    getSystemName(): string {
        return 'render-system'
    }

    beforeTick(captureContext: CaptureContext) {
        captureContext.addCaptureType(COMPONENT_CLASS_TYPE(Camera))
    }

    afterTick(captureContext: CaptureContext): void {
        const cameras = <Camera[]>captureContext.getCapturedComponents(COMPONENT_CLASS_TYPE(Camera))

        
    }
}
